# coding:utf-8
from flask import Flask
from config import UatConfig


def create_app(config_obj):
    flask_app = Flask(__name__)
    flask_app.config.from_object(config_obj)
    return flask_app


flask_app = create_app(UatConfig)
